//
//  PIODetailViewController.h
//  FootPrint
//
//  Created by alex tao on 4/8/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "POISelDelegate.h"
#import "FavMerchantParser.h"

@interface PIODetailViewController : UIViewController<FavMerchantDelegate>{
    FavMerchantParser* _favParser;
    BOOL _needBack;
}

@property (retain, nonatomic) IBOutlet FPImageView *poiIcon;
@property (retain, nonatomic) IBOutlet UILabel *poiName;
@property (retain, nonatomic) IBOutlet UILabel *poiAddress;
@property (retain, nonatomic) NSDictionary *    rawData;

- (IBAction)exit;
- (IBAction)createEvent:(id)sender;

@property (retain, nonatomic) IBOutlet UIButton *btnChoose;
@property (retain, nonatomic) IBOutlet UIButton *btnFav;
@property (retain, nonatomic) IBOutlet UIButton *btnChoose1;

- (IBAction)actionChoose:(id)sender;
- (IBAction)actionFav:(id)sender;

@property (assign, nonatomic) id<POISelDelegate> selDelegate;

- (void)updatePOIInfo:(MerchantMessage*)merchant;

@end
